package com.lld.dao;

import com.lld.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @program: memo
 * @description: 用户dao接口
 * @author: lld
 * @create: 2020-10-09 21:02
 **/
@Repository
public interface UserDao {
    //根据用户名密码查询
    User queryByNamePwd(@Param("username") String username, @Param("password") String password);

    //添加用户
    void addUser(User user);
}
